package com.yuanfeng.goods.feign;

import com.yuanfeng.commoms.util.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @author Qi
 * @date 2023/4/25 17:45
 */

@FeignClient(name = "mall-userms", url = "http://localhost:8081")
public interface UserServiceClient {


    /**
     * 修改聚宝盆用户表信息
     *
     * @param map
     * @return
     */
    @PostMapping("/user/treasure/update")
    ResponseResult updateTreasureByMap(@RequestBody Map<String, Object> map);
}
